//
//  AboutViewController.m
//  Item A House
//
//  Created by dllo on 15/5/28.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "AboutViewController.h"

@interface AboutViewController ()

@end

@implementation AboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"关于软件";
    [self.view setBackgroundColor:[UIColor whiteColor]];
    self.navigationController.navigationBar.translucent = NO;
    
    
    UIScrollView *scroll = [[UIScrollView alloc] initWithFrame:CGRectMake(5, 5, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height)];
    [scroll setContentSize:CGSizeMake(0, 700)];
     [self.view addSubview:scroll];
    UILabel *title = [[UILabel alloc] initWithFrame:CGRectZero];
    
    [scroll addSubview:title];
    title.font = [UIFont systemFontOfSize:20];
    title.numberOfLines = 0;
    title.text = @"      何奇郑是国内优质房地产租售服务平台，专注于房地产租售信息服务。何奇郑以“帮助人们实现家的梦想“，全面覆盖买房，租房，商业地产三大业务，同时为开发商与经纪人提供高效的网络推广平台。何奇郑网站每月独立访问用户已突破6600万。\n      2015年，何奇郑发力移动互联网。旗下“何奇郑旗舰版”、“何奇郑新房”、“何奇郑租房”、“何奇郑商业地产”四大找房APP使用用户突破3000万。\n      何奇郑每天更新百万套最新最热真实房源，更有专业搜索引擎随时发现好房，出色推荐系统贴心个性化推荐，移动APP随时随地找房。\n\n      何奇郑，家就在你手上！\n\n      ☎️客服热线：400-620-9008\n\n      当前版本：1.0 HQZ 0001\n\n      网站地址：www.anjuke.com\n";
    [title setBackgroundColor:[UIColor colorWithRed:0.5 green:0 blue:0 alpha:0.3]];
    NSDictionary *dic = @{NSFontAttributeName:[UIFont systemFontOfSize:20]};
    CGRect rect = [title.text boundingRectWithSize:CGSizeMake([UIScreen mainScreen].bounds.size.width - 10, 100000) options:NSStringDrawingUsesLineFragmentOrigin attributes:dic context:nil];
    title.frame = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width -  10, rect.size.height);
    

}
    // Do any additional setup after loading the view.


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
